package org.raymond.icloud.apis.admin.vo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotEmpty;

@Data
public class LoginRequestVO {
    @ApiModelProperty(name="username", value = "用户名称", dataType="String")
    @NotEmpty(message = "username不能为空")
    private String username;

    @ApiModelProperty(name="password", value = "密码", dataType="String")
    @NotEmpty(message = "password不能为空")
    private String password;

    @ApiModelProperty(name="type", value = "登陆类型, account-账号密码登陆, mobile-手机号登陆", dataType="String")
    private String type;
}
